package com.chinanet.quartz;
import com.chinanet.service.faultanticipate.controll.ModelService;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.scheduling.quartz.QuartzJobBean;

import java.util.HashMap;
import java.util.Map;

//每日更新
public class ModelInspectJob extends QuartzJobBean {

	@Override
	public void executeInternal(JobExecutionContext context) throws JobExecutionException {
		System.out.println("test");
	}

	private void work(){
		Map<String,Object> map = new HashMap<>();

		new ModelService().runModelOrigin(null, "1",map,"auto");
	}

}